// 公共类
import version from './lib/version';
import dateInit from './lib/dateInit';
import arrInit from './lib/arrInit';
import regInit from './lib/regInit';

/**
 * 根据 options 动态加载所需的模块
 */
class common {
  constructor(options) {
    options = options || {};
    Object.assign(this, version, options);
    this.date = new dateInit();
    this.arr = new arrInit();
    this.reg = new regInit();
  }
}
export default common;